import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useBreadsStore = defineStore('bread', () => {
  const breadCrumbs = ref([])

  function setBreadCrumbs(bread) {
    breadCrumbs.value = bread
  }

  return { breadCrumbs, setBreadCrumbs }
})